<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>地图导航</title>
    <style>
        * {
          margin: 0;
          padding: 0;
        }
        #container {
          width: 100%;
          height: 100vh;
          background-color: pink;
        }



    </style>
</head>
<body>
<div id="container">
    定位导航
    <button onclick="callFuncFromHarmory()">调用鸿蒙端方法</button>
    <div id="myDiv"></div>
</div>

<script>
        //调用鸿蒙端方法
        function callFuncFromHarmory(){
            if(window.proxy001){
                window.proxy001.funcCalledByHarmony()
            }
        }
    </script>
    </body>
</html>